<name>Flame of Fire Resistance</name>
<profession>The flame burns hot</profession>
<dialogue>
  <greeting>
    <reply>
      <text></text>
      <script>
        <sound>fire</sound>
      </script>
      <return>main</return>
    </reply>
  </greeting>
  <main>
    <option>
      <text>Warm your hands.</text>
      <npc>
        <reply>
          <if><key>fireresistance</key></if>
          <text>You feel warm.</text>
          <return>main</return> 
        </reply>
        <reply>
          <text>You feel resistant to fire now!</text>
          <script>
            <attribute>#20:6|Fire Resistance</attribute>
            <key>fireresistance</key>
          </script>
          <return>main</return> 
        </reply>
      </npc>
    </option>
    <option>
      <text>Turn away.</text>
      <npc>
        <reply>
          <return>exit</return> 
        </reply>
      </npc>
    </option>
  </main> 
</dialogue>